from rest_framework import serializers

# djang的权限类
from django.contrib.auth.models import Permission


class PermissionSerializer(serializers.ModelSerializer):
    """
        权限类序列化器
    """

    class Meta:
        model = Permission
        fields = "__all__"